home *** CD-ROM | disk | FTP | other *** search
Text File | 1995-12-21 | 3.4 KB | 80 lines | [TEXT/CWIE] |
-
-
- Verify application of SVD to solving sets of simultaneous equations
-
-
- Checking solution of a set of linear equations
- with a Hilb+E of order 10x10
-
- condition number 2.75192
-
- Matrix 2x10 'true vs. computed solution' is as follows
-
- | 1 | 2 | 3 | 4 | 5 | 6 |
- -------------------------------------------------------------------------------
- 1 | 1 2 3 4 5 6
- 2 | 1 2 3 4 5 6
-
-
- | 7 | 8 | 9 | 10 |
- -------------------------------------------------------------------------------
- 1 | 7 8 9 10
- 2 | 7 8 9 10
- Done
- checking to see that Ax is indeed b
- Two (6,1) elements of matrices with values 10.8255 and 10.8255
- differ the most, though the deviation 2.86102e-06 is small
-
-
- Checking solution of a set of linear equations
- with a Hilb+E of order 20x10
-
- condition number 2.7952
-
- Matrix 2x10 'true vs. computed solution' is as follows
-
- | 1 | 2 | 3 | 4 | 5 | 6 |
- -------------------------------------------------------------------------------
- 1 | 1 2 3 4 5 6
- 2 | 1 2 3 4 5 6
-
-
- | 7 | 8 | 9 | 10 |
- -------------------------------------------------------------------------------
- 1 | 7 8 9 10
- 2 | 7 8 9 10
- Done
- checking to see that Ax is indeed b
- Two (8,1) elements of matrices with values 12.0731 and 12.0731
- differ the most, though the deviation 5.72205e-06 is small
-
-
- Checking solution of a set of linear equations
- with a Hilbert matrix of order 10
-
- condition number 9.17516e+08
-
- SVD solver of AX=B detected a linear dependency among X
- # singular value null coefficients
- 7 1.2e-07 (0.00130969 -0.0394399 0.269171 -0.617029 0.308845 0.393727 -0.02906 -0.351747 -0.257299 0.322623 )
- 8 1.9e-09 ( -0 0.00276592 -0.0501898 0.267559 -0.521909 0.179025 0.453382 -0.106034 -0.547738 0.323467 )
- 9 3.2e-09 ( -0 -0.000390014 0.00799771 -0.0502112 0.118322 -0.0198647 -0.395754 0.725841 -0.528438 0.142498 )
- 10 3.6e-09 ( 0 0.000738952 -0.0168004 0.124252 -0.419034 0.700492 -0.51338 -0.00886913 0.217251 -0.0846435 )
-
- Matrix 2x10 'true vs. computed solution' is as follows
-
- | 1 | 2 | 3 | 4 | 5 | 6 |
- -------------------------------------------------------------------------------
- 1 | 1 2 3 4 5 6
- 2 | 0.9981 2.036 2.86 4.13 5.082 5.963
-
-
- | 7 | 8 | 9 | 10 |
- -------------------------------------------------------------------------------
- 1 | 7 8 9 10
- 2 | 6.911 7.938 9.007 10.08
- Done
- checking to see that Ax is indeed b
- Two (1,1) elements of matrices with values 10 and 10
- differ the most, though the deviation 3.8147e-06 is small
-